﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace GiaSu.DataAccess.Entity
{
    public class Parent : Base
    {
        public Parent() { }

        public string Name { get; set; }
        public string Address { get; set; }
        public string Phone { get; set; }
        public string Email { get; set; }
        public int GradeId { get; set; }
        [ForeignKey("GradeId")]
        public virtual Grade Grade { get; set; }
        public int SubjectId { get; set; }
        [ForeignKey("SubjectId")]
        public virtual Subject Subject { get; set; }
        public int NumberStudent { get; set; }
        public string Rank { get; set; }
        public string Purpose { get; set; }
        public int Session { get; set; }
        public string Time { get; set; }
        public string Requirement { get; set; }
        public int Salary { get; set; }


    }
}
